# -*- mode: snippet -*-
# name: listing
# key: anlt
# expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil))
# --
\usepackage{listings,xcolor,textcomp}
\newcommand{\hl}{\makebox[0pt][l]{\color{yellow}\rule[-4pt]{1.00\linewidth}{14pt}}}
\lstset{language=[LaTeX]TeX,
texcsstyle=*\color{blue},
numbers=none,
breaklines=true,
keywordstyle=\color{darkgreen},
commentstyle=\color{red},
frame=none,
tabsize=2,
escapeinside=||,
backgroundcolor=\color{lightgrey}, %otherkeywords={\{, \}, \[, \]},
caption=LaTeX example
}
